/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package op;

import java.util.Comparator;

/**
 *
 * @author Jonatas
 */
public class ComparatorLigacaoDestino implements Comparator<Ligacao> {

    public int compare(Ligacao o1, Ligacao o2) {

        return o1.getDestino().compareTo(o2.getDestino());

    }

}
